const Mock = require('mockjs');
module.exports = function() {
  return Mock.mock({
    "list|5": [
      {
        "name": "@ctitle(2)",
        "children|1-10": [
          {
            "id": "@id",
            "image": "@image(100x100,@color)",
            "name": "@ctitle(6,8)"
          }
        ]
      }
    ]
  })
}

